import { createApp } from 'vue'
import router from './router/router'
import ViewUIPlus from 'view-ui-plus'
import 'view-ui-plus/dist/styles/viewuiplus.css'
// 各API接口
import api from './api/api' // 导入api接口
// 首页模板
import App from './views/App.vue'
import store from './store/store'

const app = createApp(App)
app.config.globalProperties.$api = api; // 将api挂载到vue的原型上
app.use(store).use(router).use(ViewUIPlus).mount('#app');
